package com.haikesi.api.organization.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @ClassName OrganizationSaveVO
 * @Author HandsomeBugs
 * @Date 2019/4/30 9:28
 * @Version 1.0
 **/
@Data
@EqualsAndHashCode(callSuper = false)
public class OrganizationSaveVO implements Serializable {
    private static final long serialVersionUID = -1L;


    @ApiModelProperty(value = "父级组织机构ID")
    private String parentId;

    @ApiModelProperty(value = "组织机构名称")
    @NotNull(message="组织机构名称不能为空！")
    private String organizationName;

    @ApiModelProperty(value = "机构描述")
    private String organizationDescription;

}